<?php
namespace ImiApp\Module\Member\Model\Base;

use Imi\Model\Model;
use Imi\Model\Annotation\DDL;
use Imi\Model\Annotation\Table;
use Imi\Model\Annotation\Column;
use Imi\Model\Annotation\Entity;

/**
 * 班级布置的作业 基类
 * @Entity
 * @Table(name="sc_jigou_team_assign_work", id={"id"})
 * @DDL("CREATE TABLE `sc_jigou_team_assign_work` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '  ',
  `team_id` int(10) unsigned DEFAULT NULL COMMENT '班级id',
  `class_id` int(10) DEFAULT NULL COMMENT '课程id',
  `work_status` enum('1','2') DEFAULT NULL COMMENT '作业状态:1=暂未布置,2=已布置',
  `work_title` varchar(50) DEFAULT NULL COMMENT '作业标题',
  `work_content` text COMMENT '作业内容介绍',
  `createtime` int(10) unsigned DEFAULT NULL COMMENT '创建时间',
  `admin_id` int(10) DEFAULT NULL,
  `images` varchar(255) DEFAULT NULL COMMENT '图片',
  `audio_files` varchar(255) DEFAULT NULL COMMENT '音频',
  `video_files` varchar(255) DEFAULT NULL COMMENT '视频',
  `files` varchar(255) DEFAULT NULL COMMENT '文件',
  `end_time` int(10) DEFAULT NULL COMMENT '截止提交作业时间',
  `team_table_id` int(10) DEFAULT NULL COMMENT '课程表id',
  PRIMARY KEY (`id`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 ROW_FORMAT=COMPACT COMMENT='班级布置的作业'")
 * @property int $id   
 * @property int $teamId 班级id
 * @property int $classId 课程id
 * @property string $workStatus 作业状态:1=暂未布置,2=已布置
 * @property string $workTitle 作业标题
 * @property string $workContent 作业内容介绍
 * @property int $createtime 创建时间
 * @property int $adminId 
 * @property string $images 图片
 * @property string $audioFiles 音频
 * @property string $videoFiles 视频
 * @property string $files 文件
 * @property int $endTime 截止提交作业时间
 * @property int $teamTableId 课程表id
 */
abstract class ScJigouTeamAssignWorkBase extends Model
{
    /**
     *   
     * id
     * @Column(name="id", type="int", length=10, accuracy=0, nullable=false, default="", isPrimaryKey=true, primaryKeyIndex=0, isAutoIncrement=true)
     * @var int
     */
    protected $id;

    /**
     * 获取 id -   
     *
     * @return int
     */ 
    public function getId()
    {
        return $this->id;
    }

    /**
     * 赋值 id -   
     * @param int $id id
     * @return static
     */ 
    public function setId($id)
    {
        $this->id = $id;
        return $this;
    }

    /**
     * 班级id
     * team_id
     * @Column(name="team_id", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $teamId;

    /**
     * 获取 teamId - 班级id
     *
     * @return int
     */ 
    public function getTeamId()
    {
        return $this->teamId;
    }

    /**
     * 赋值 teamId - 班级id
     * @param int $teamId team_id
     * @return static
     */ 
    public function setTeamId($teamId)
    {
        $this->teamId = $teamId;
        return $this;
    }

    /**
     * 课程id
     * class_id
     * @Column(name="class_id", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $classId;

    /**
     * 获取 classId - 课程id
     *
     * @return int
     */ 
    public function getClassId()
    {
        return $this->classId;
    }

    /**
     * 赋值 classId - 课程id
     * @param int $classId class_id
     * @return static
     */ 
    public function setClassId($classId)
    {
        $this->classId = $classId;
        return $this;
    }

    /**
     * 作业状态:1=暂未布置,2=已布置
     * work_status
     * @Column(name="work_status", type="enum", length=0, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $workStatus;

    /**
     * 获取 workStatus - 作业状态:1=暂未布置,2=已布置
     *
     * @return string
     */ 
    public function getWorkStatus()
    {
        return $this->workStatus;
    }

    /**
     * 赋值 workStatus - 作业状态:1=暂未布置,2=已布置
     * @param string $workStatus work_status
     * @return static
     */ 
    public function setWorkStatus($workStatus)
    {
        $this->workStatus = $workStatus;
        return $this;
    }

    /**
     * 作业标题
     * work_title
     * @Column(name="work_title", type="varchar", length=50, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $workTitle;

    /**
     * 获取 workTitle - 作业标题
     *
     * @return string
     */ 
    public function getWorkTitle()
    {
        return $this->workTitle;
    }

    /**
     * 赋值 workTitle - 作业标题
     * @param string $workTitle work_title
     * @return static
     */ 
    public function setWorkTitle($workTitle)
    {
        $this->workTitle = $workTitle;
        return $this;
    }

    /**
     * 作业内容介绍
     * work_content
     * @Column(name="work_content", type="text", length=0, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $workContent;

    /**
     * 获取 workContent - 作业内容介绍
     *
     * @return string
     */ 
    public function getWorkContent()
    {
        return $this->workContent;
    }

    /**
     * 赋值 workContent - 作业内容介绍
     * @param string $workContent work_content
     * @return static
     */ 
    public function setWorkContent($workContent)
    {
        $this->workContent = $workContent;
        return $this;
    }

    /**
     * 创建时间
     * createtime
     * @Column(name="createtime", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $createtime;

    /**
     * 获取 createtime - 创建时间
     *
     * @return int
     */ 
    public function getCreatetime()
    {
        return $this->createtime;
    }

    /**
     * 赋值 createtime - 创建时间
     * @param int $createtime createtime
     * @return static
     */ 
    public function setCreatetime($createtime)
    {
        $this->createtime = $createtime;
        return $this;
    }

    /**
     * admin_id
     * @Column(name="admin_id", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $adminId;

    /**
     * 获取 adminId
     *
     * @return int
     */ 
    public function getAdminId()
    {
        return $this->adminId;
    }

    /**
     * 赋值 adminId
     * @param int $adminId admin_id
     * @return static
     */ 
    public function setAdminId($adminId)
    {
        $this->adminId = $adminId;
        return $this;
    }

    /**
     * 图片
     * images
     * @Column(name="images", type="varchar", length=255, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $images;

    /**
     * 获取 images - 图片
     *
     * @return string
     */ 
    public function getImages()
    {
        return $this->images;
    }

    /**
     * 赋值 images - 图片
     * @param string $images images
     * @return static
     */ 
    public function setImages($images)
    {
        $this->images = $images;
        return $this;
    }

    /**
     * 音频
     * audio_files
     * @Column(name="audio_files", type="varchar", length=255, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $audioFiles;

    /**
     * 获取 audioFiles - 音频
     *
     * @return string
     */ 
    public function getAudioFiles()
    {
        return $this->audioFiles;
    }

    /**
     * 赋值 audioFiles - 音频
     * @param string $audioFiles audio_files
     * @return static
     */ 
    public function setAudioFiles($audioFiles)
    {
        $this->audioFiles = $audioFiles;
        return $this;
    }

    /**
     * 视频
     * video_files
     * @Column(name="video_files", type="varchar", length=255, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $videoFiles;

    /**
     * 获取 videoFiles - 视频
     *
     * @return string
     */ 
    public function getVideoFiles()
    {
        return $this->videoFiles;
    }

    /**
     * 赋值 videoFiles - 视频
     * @param string $videoFiles video_files
     * @return static
     */ 
    public function setVideoFiles($videoFiles)
    {
        $this->videoFiles = $videoFiles;
        return $this;
    }

    /**
     * 文件
     * files
     * @Column(name="files", type="varchar", length=255, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var string
     */
    protected $files;

    /**
     * 获取 files - 文件
     *
     * @return string
     */ 
    public function getFiles()
    {
        return $this->files;
    }

    /**
     * 赋值 files - 文件
     * @param string $files files
     * @return static
     */ 
    public function setFiles($files)
    {
        $this->files = $files;
        return $this;
    }

    /**
     * 截止提交作业时间
     * end_time
     * @Column(name="end_time", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $endTime;

    /**
     * 获取 endTime - 截止提交作业时间
     *
     * @return int
     */ 
    public function getEndTime()
    {
        return $this->endTime;
    }

    /**
     * 赋值 endTime - 截止提交作业时间
     * @param int $endTime end_time
     * @return static
     */ 
    public function setEndTime($endTime)
    {
        $this->endTime = $endTime;
        return $this;
    }

    /**
     * 课程表id
     * team_table_id
     * @Column(name="team_table_id", type="int", length=10, accuracy=0, nullable=true, default="", isPrimaryKey=false, primaryKeyIndex=-1, isAutoIncrement=false)
     * @var int
     */
    protected $teamTableId;

    /**
     * 获取 teamTableId - 课程表id
     *
     * @return int
     */ 
    public function getTeamTableId()
    {
        return $this->teamTableId;
    }

    /**
     * 赋值 teamTableId - 课程表id
     * @param int $teamTableId team_table_id
     * @return static
     */ 
    public function setTeamTableId($teamTableId)
    {
        $this->teamTableId = $teamTableId;
        return $this;
    }

}
